Piwik\Plugins\TwoFactorAuth\TwoFactorAuth A

Total Complexity 65
Dependencies 13
Dependents 0
Total lines 245
Lines of code 181
Logical lines of code 111
Comment lines 14
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
requiresAuth()
A
52 14 21
onRequestDispatch()
A
50 11 28
onCreateAppSpecificTokenAuth()
A
52 10 23
onRequestDispatchEnd()
A
55 8 19
onSuccessfulSession()
S
60 7 12
deleteRecoveryCodes()
S
66 3 8
render2FaUserSettings()
S
65 3 9
getClientSideTranslationKeys()
S
54 1 23
removeTokenFromOutput()
S
68 2 7
registerEvents()
S
60 1 13
getStylesheetFiles()
S
80 1 3
getJsFiles()
S
77 1 4
getTwoFa()
S
80 1 3
getValidator()
S
80 1 3
isValidTokenAuth()
S
72 1 5